package com.zhiche.lisa.tms.dao.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 资金上传流水
 * </p>
 *
 * @author yangzhiyu
 * @since 2019-03-08
 */
@TableName("lisa_upload_capital")
public class UploadCapital extends Model<UploadCapital> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 系统订单号
     */
	@TableField("sys_order_id")
	private String sysOrderId;
    /**
     * 客户运单号
     */
	@TableField("cust_order_id")
	private String custOrderId;
    /**
     * 车牌号
     */
	private String carNo;
    /**
     * 金额
     */
	private BigDecimal money;
    /**
     * 实际收款人
     */
	private String payee;
    /**
     * 付款方式
     */
	private String paytype;
    /**
     * 银行代码
     */
	private String bankcode;
    /**
     * 银行流水号
     */
	@TableField("serial_number")
	private String serialNumber;
    /**
     * 转账时间
     */
	@TableField("transfer_time")
	private Date transferTime;
    /**
     * 是否处理 0 未处理 1 为处理
     */
	@TableField("deal_status")
	private String dealStatus;
    /**
     * 上传时间
     */
	@TableField("deal_time")
	private Date dealTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSysOrderId() {
		return sysOrderId;
	}

	public void setSysOrderId(String sysOrderId) {
		this.sysOrderId = sysOrderId;
	}

	public String getCustOrderId() {
		return custOrderId;
	}

	public void setCustOrderId(String custOrderId) {
		this.custOrderId = custOrderId;
	}

	public String getCarNo() {
		return carNo;
	}

	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getPayee() {
		return payee;
	}

	public void setPayee(String payee) {
		this.payee = payee;
	}

	public String getPaytype() {
		return paytype;
	}

	public void setPaytype(String paytype) {
		this.paytype = paytype;
	}

	public String getBankcode() {
		return bankcode;
	}

	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public Date getTransferTime() {
		return transferTime;
	}

	public void setTransferTime(Date transferTime) {
		this.transferTime = transferTime;
	}

	public String getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(String dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UploadCapital{" +
			", id=" + id +
			", sysOrderId=" + sysOrderId +
			", custOrderId=" + custOrderId +
			", carNo=" + carNo +
			", money=" + money +
			", payee=" + payee +
			", paytype=" + paytype +
			", bankcode=" + bankcode +
			", serialNumber=" + serialNumber +
			", transferTime=" + transferTime +
			", dealStatus=" + dealStatus +
			", dealTime=" + dealTime +
			"}";
	}
}
